<@override name="content">
<table class="ui fixed table">
    <thead>
    <tr>
        <th>ID</th>
        <th>Name</th>
    </tr>
    </thead>
    <tbody>
        <#list users.getList() as user>
        <tr>
            <td>${user.id}</td>
            <td>${user.username}</td>
        </tr>
        </#list>
    </tbody>
</table>


    <div>
        <#if users.getPageNumber() !=1 >
            <a href="?page=${users.getPageNumber()-1}">上一页</a>
        </#if>
    ${users.getPageNumber()}/${users.getTotalPage()}
        <#if users.getPageNumber()!=users.getTotalPage()>
            <a href="?page=${users.getPageNumber()+1}">下一页</a>
        </#if>
    </div>


</@override>

<@extends name="../parent1.ftl"></@extends>